package entity;

/**
 * OrdersLline entity. @author MyEclipse Persistence Tools
 */

public class OrdersLline implements java.io.Serializable {

	// Fields

	private Double oddId;
	private Product product;
	private Orders orders;
	private Double oddCount;
	private String oddUnit;
	private Double oddPrice;

	// Constructors

	/** default constructor */
	public OrdersLline() {
	}

	/** minimal constructor */
	public OrdersLline(Double oddId, Product product, Orders orders,
			Double oddCount) {
		this.oddId = oddId;
		this.product = product;
		this.orders = orders;
		this.oddCount = oddCount;
	}

	/** full constructor */
	public OrdersLline(Double oddId, Product product, Orders orders,
			Double oddCount, String oddUnit, Double oddPrice) {
		this.oddId = oddId;
		this.product = product;
		this.orders = orders;
		this.oddCount = oddCount;
		this.oddUnit = oddUnit;
		this.oddPrice = oddPrice;
	}

	// Property accessors

	public Double getOddId() {
		return this.oddId;
	}

	public void setOddId(Double oddId) {
		this.oddId = oddId;
	}

	public Product getProduct() {
		return this.product;
	}

	public void setProduct(Product product) {
		this.product = product;
	}

	public Orders getOrders() {
		return this.orders;
	}

	public void setOrders(Orders orders) {
		this.orders = orders;
	}

	public Double getOddCount() {
		return this.oddCount;
	}

	public void setOddCount(Double oddCount) {
		this.oddCount = oddCount;
	}

	public String getOddUnit() {
		return this.oddUnit;
	}

	public void setOddUnit(String oddUnit) {
		this.oddUnit = oddUnit;
	}

	public Double getOddPrice() {
		return this.oddPrice;
	}

	public void setOddPrice(Double oddPrice) {
		this.oddPrice = oddPrice;
	}

}